package com.example.myapplication.shortvideo.model.fanyi;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @author: rongfeng
 * @date: 2020/9/3
 * @description
 */
public class WordExchange {

    /**
     * head : {"p":[{"span":{"content":"第三人称单数：  ","a":{"content":"tests","href":"/#en/zh/tests","data-stat-add":"第三人称单数","class":"sec-trans","data-stat-id":"69"},"class":"word-can-trans"}},{"span":{"content":"复数：  ","a":{"content":"tests","href":"/#en/zh/tests","data-stat-add":"复数","class":"sec-trans","data-stat-id":"69"},"class":"word-can-trans"}},{"span":{"content":"现在分词：  ","a":{"content":"testing","href":"/#en/zh/testing","data-stat-add":"现在分词","class":"sec-trans","data-stat-id":"69"},"class":"word-can-trans"}},{"span":{"content":"过去式：  ","a":{"content":"tested","href":"/#en/zh/tested","data-stat-add":"过去式","class":"sec-trans","data-stat-id":"69"},"class":"word-can-trans"}},{"span":{"content":"过去分词：  ","a":{"content":"tested","href":"/#en/zh/tested","data-stat-add":"过去分词","class":"sec-trans","data-stat-id":"69"},"class":"word-can-trans"}}]}
     */

    private HeadBean head;

    public HeadBean getHead() {
        return head;
    }

    public void setHead(HeadBean head) {
        this.head = head;
    }

    public static class HeadBean {
        private List<PBean> p;

        public List<PBean> getP() {
            return p;
        }

        public void setP(List<PBean> p) {
            this.p = p;
        }

        public static class PBean {
            /**
             * span : {"content":"第三人称单数：  ","a":{"content":"tests","href":"/#en/zh/tests","data-stat-add":"第三人称单数","class":"sec-trans","data-stat-id":"69"},"class":"word-can-trans"}
             */

            private SpanBean span;

            public SpanBean getSpan() {
                return span;
            }

            public void setSpan(SpanBean span) {
                this.span = span;
            }

            public static class SpanBean {
                /**
                 * content : 第三人称单数：
                 * a : {"content":"tests","href":"/#en/zh/tests","data-stat-add":"第三人称单数","class":"sec-trans","data-stat-id":"69"}
                 * class : word-can-trans
                 */

                private String content;
                private ABean a;


                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public ABean getA() {
                    return a;
                }

                public void setA(ABean a) {
                    this.a = a;
                }


                public static class ABean {
                    /**
                     * content : tests
                     * href : /#en/zh/tests
                     * data-stat-add : 第三人称单数
                     * class : sec-trans
                     * data-stat-id : 69
                     */

                    private String content;
                    private String href;


                    public String getContent() {
                        return content;
                    }

                    public void setContent(String content) {
                        this.content = content;
                    }

                    public String getHref() {
                        return href;
                    }

                    public void setHref(String href) {
                        this.href = href;
                    }
                }
            }
        }
    }
}
